package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractAnliFactory
{
    private ContractAnliFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IContractAnli getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAnli)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("C99BCD22") ,com.kingdee.eas.xbang.contract.IContractAnli.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IContractAnli getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAnli)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("C99BCD22") ,com.kingdee.eas.xbang.contract.IContractAnli.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IContractAnli getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAnli)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("C99BCD22"));
    }
    public static com.kingdee.eas.xbang.contract.IContractAnli getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractAnli)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("C99BCD22"));
    }
}